package com.dhcc.bpm.modules.safe.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.safe.entity.IpControl;
import com.dhcc.bpm.modules.safe.mapper.IpControlMapper;
import com.dhcc.bpm.modules.safe.service.IIpControlService;
import com.dhcc.bpm.modules.safe.vo.IpControlVO;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @ClassName IpControlServiceImpl
 * @Description API访问控制IP关联表 服务实现类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service("opc_ip_control")
public class IpControlServiceImpl extends BaseServiceImpl<IpControlMapper, IpControl> implements IIpControlService {

	@Override
	public IPage<IpControlVO> selectIpControlPage(IPage<IpControlVO> page, IpControlVO ipControl) {
		return page.setRecords(baseMapper.selectIpControlPage(page, ipControl));
	}

}
